let someStr: any = "this is a string";
let someNum:number = (someStr as string).length;